package ots.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class registerForm extends ActionForm{

	private String username=null;
	private String realname=null;
	private String psw=null;
	private String psw2=null;
	private String phone=null;
	private String email=null;

	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username=username;
	}
	
	public String getRealname()
	{
		return realname;
	}
	public void setRealname(String realname)
	{
		this.realname=realname;
	}
	
	public void setPsw(String psw)
	{
		this.psw=psw;
	}
	public String getPsw()
	{
		return psw;
	}
	
	public void setPsw2(String psw2)
	{
		this.psw2=psw2;
	}
	public String getPsw2()
	{
		return psw2;
	}
	
	public void setPhone(String phone)
	{
		this.phone=phone;
	}
	public String getPhone()
	{
		return phone;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email=email;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		try{
			request.setCharacterEncoding("utf-8");
		}
		catch (Exception e){
			
		}
	}

}
